package com.hopu.dxhouse.service;

import com.hopu.dxhouse.entity.MyEmp;
import com.hopu.dxhouse.mapper.MyEmpDao;
import com.hopu.dxhouse.mapper.MyEmpDaoImple;

/**
 * @Package: com.hopu.dxhouse.service
 * @ClassName: MyEmpServiceImple
 * @Author: Administrator
 * @CreateTime: 2020/10/19 16:54
 * @Description:
 */
public class MyEmpServiceImple implements MyEmpService {
    //实例化持久层（Dao层）实现类
    MyEmpDao myEmpDao = new MyEmpDaoImple();


    @Override
    public MyEmp checkEname(String ename) {
        return myEmpDao.checkEname(ename);
    }

    @Override
    public MyEmp checkEnameAndEpsw(String ename, String epsw) {
        return myEmpDao.checkEnameAndEpsw(ename,epsw);
    }
}
